package cn.ly817.jay.enums;

/**
 * Created by LuoYu on 2016/12/9.
 */
public enum MissionState {
    FAILED(-2,"审批未通过"),
    HANDLING(-1,"被指派，处理中,未提交"),
    UNHANDLED(0,"被指派，未处理"),
    PENDING(1,"已提交，组长审批中"),
    PASSED(2,"审批通过任务完成");

    private int dbState;

    private String state;

    MissionState(int dbState, String state) {
        this.dbState = dbState;
        this.state = state;
    }

    public int getDbState() {
        return dbState;
    }

    public void setDbState(int dbState) {
        this.dbState = dbState;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

}

